Encapsulating a C++ Library
نویسنده
چکیده
Encapsulation is the hiding of internal details from the user of an abstract data type, class or module. Encapsulating a class library requires more than combining a set of classes that are encapsulated individually. Libraries need to hide the details of how objects are created because some kinds of objects may be represented by composites as opposed to single instances. Implementation classes and members also must be hidden from the user of a library, even if this hiding conflicts with the user’s desire to reuse library code. In this paper, we present the encapsulation techniques used in the InterViews 3.1, a C++ class library for building user interfaces. These techniques have been formulated from the experience of building and releasing InterViews over a period of several years.
منابع مشابه
PARA++ : C++ Bindings for Message Passing Libraries
The aim of Para++ is to provide a user-level C++ interface to message passing libraries, by encapsulating the notions of processes and inter-processes communications into specificC++ objects and streams. Actually, this abstraction level allows to implement Para++ with any kind of message passing library. Para++’s main idea is to add new C++ io-streams allowing inter-tasks communications. These ...
متن کاملSmart Messages: An Object-Oriented Communication Mechanism for Parallel Systems
ABC++ is a portable object-oriented type-safe class library for parallel programming in C++. It supports active objects, synchronous and asyn-chronous object interactions, and object-based shared regions on both shared-and distributed-memory parallel computers. ABC++ is written in, and compatible with, standard C++: no language extensions or pre-processors are used. This paper focuses on its us...
متن کاملTowards Electronic Persistence Using ARK Identifiers
The ARK (Archival Resource Key) is the only persistent naming scheme for internet information objects that squarely faces the service issues underlying practical electronic permanence. The ARK is a specially constructed, actionable URL encapsulating a globally unique identity that is independent of the current service provider. Each ARK is by definition bound to three things: (a) object access,...
متن کاملThe Effect of Cationic Liposomes Encapsulating pcDNA3.1+PA Plasmids on Humoral Immune Response in Mice
Background: DNA vaccines are third generation vaccines which have made promises to combat infectious diseases. Cationic liposomes are used as effective delivery systems for DNA vaccines to generate stronger immunity. Objective: Encapsulation of pcDNA3.1+PA plasmid, encoding protective antigen (PA) of Bacillus anthracis (B. anthracis) into cationic liposomes, and evaluation of its effect on spec...
متن کاملSmart Messages: An Object-Oriented Communication Mechanism
ABC++ is a portable object-oriented type-safe class library for concurrent programming. It supports active objects, synchronous and asyn-chronous object interactions, and object-based shared regions on both shared-and distributed-memory parallel computers. ABC++ is written in, and compatible with, standard C++: no language extensions or pre-processors are used. This paper focuses on the use of ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1992